package com.rt.easyjava.base.biz1.bean.base;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.rt.easyjava.base.biz1.bean.TmptAuthRoleBiz;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


/**
 *
 * @author wuxiaoyong
 * @since 2020-07-16
 */

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TmptAuthRole extends Model<TmptAuthRoleBiz>{

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Date createdate;
    private String createman;
    private Integer deleteflag;
    private String description;
    private Date modifydate;
    private String modifyman;
    private String rolename;
    private Long a2companyId;
    private Long createmanId;
    private Long modifymanId;
    private Long companyId;





    // 重写这个方法，return当前类的主键
    @Override
    protected Serializable pkVal() {
        return id;
    }

}
